package com.wangqingbo.myspringboot212;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @MapperScan("com.wangqingbo.myspringboot212.dao"):扫描包下的所有的mapper文件
 */
@SpringBootApplication
@MapperScan("com.wangqingbo.myspringboot212.dao")
public class MySpringBoot212Application {

    public static void main(String[] args) {
        SpringApplication.run(MySpringBoot212Application.class, args);
    }

}
